package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.CategoryDTO;
import com.leyou.item.entity.Category;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface CategoryService extends IService<Category> {
  List<CategoryDTO> findCategoryById(List<Long> id);

  List<CategoryDTO> findCategoryByPid(Long id);

  List<CategoryDTO>  findCategoryByBid(Long pid);
}
